package com.github.zj.dreamly.design.pattern.pattern.creational.builder;

/**
 * @author 苍海之南
 */
public class CourseActualBuilder extends CourseBuilder {

	private Course course = new Course();

	@Override
	public void buildCourseName(String courseName) {
		course.setCourseName(courseName);
	}

	@Override
	public void buildCoursePPT(String coursePPT) {
		course.setCoursePPT(coursePPT);
	}

	@Override
	public void buildCourseVideo(String courseVideo) {
		course.setCourseVideo(courseVideo);
	}

	@Override
	public void buildCourseArticle(String courseArticle) {
		course.setCourseArticle(courseArticle);
	}

	@Override
	public void buildCourseQA(String courseQA) {
		course.setCourseQA(courseQA);
	}

	@Override
	public Course makeCourse() {
		return course;
	}
}
